﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BO;
using DAO;
using System.Data;

namespace BL
{
    public class B_Farmer
    {
        D_Farmer dal = new D_Farmer();
        public static B_Farmer CreateInstance()
        {
            return new B_Farmer();
        }
        public bool CreateOneFarmer(Farmer_Info Farmer_Info)
        {

            return dal.CreateOneFarmer(Farmer_Info);
        }
        public bool EditOneFarmer(Farmer_Info Farmer_Info)
        {

            return dal.EditOneFarmer(Farmer_Info);
        }
        public bool RemoveOneFarmer(int FarmID)
        {

            return dal.RemoveOneFarmer(FarmID);
        }
        public DataTable GetAllFarmer()
        {
            
            return dal.GetAllFarmer();
        }
        public Farmer_Info GetOneFarmer(int FarmID)
        {
            
            return dal.GetOneFarmer(FarmID);
        }
    }
}
